package lab02.test15;

/**
 * Created by 14394 on 2017/10/20.
 */
public class Test {
    public static void main(String[] args) {
        Graduate zhangsan=new Graduate();
        zhangsan.fee=800;
        zhangsan.pay=1000;


        if (zhangsan.getPay()-zhangsan.getFee()<200){
            System.out.println("you need a loan!");
        }else {
            System.out.println("your income is enouth!");
        }
    }
}
